package main

import "fmt"

func main()  {
	a:=1 //上上个月
	b:=0 //上个月数量
	c:=0 //总数量
	for i:=0;i<12;i++{
		c = a + b //c=1 a=1 b=0
		fmt.Println(i,":","总数c=",c,"a=",a,"b=",b)
		a = b //a=0 b=0
		fmt.Println(i,":","a=",a,"b=",b)
		b = c //c=1 b=1
		fmt.Println(i,":","b=",b,"总数c=",c)

		/*
		第一个月　c=1 a=0 b=1
		第二个月　c=1 a=1 b=1
		*/
	}
	//fmt.Println(c)
}
